<!DOCTYPE html>
<html>
<head>
	<title></title>

</head>
<body>
<input type="checkbox" value="1" class="kk" kk="333" id="kk" /> 
<input type="button" value="22222222" id="btn"/> 
</body>
<!-- <script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/utils_test.js"></script> -->
<script type="text/javascript">
	function showState(){
		log($('#kk').attr('checked'));
		log($('#kk').prop('checked'));
	}
	function test(){
		this.init = 123;
		this.a = {a:'234',b:[1,'a'],c:{1:1,2:2}};
		this.b= [1,3,5];
		this.c ={a:1,2:2,3:3};
		this.d='a';
	}
	// log(new test())
	// log($('.kk').attr('kk'));
	// var ko = $HY('ko');
	// var k123 = $HY('123');
	// ko.input2 = '32'
	// k123.setV('123');
	// log(ko.input2);
	// log(k123.input2);
	// var koDT = DT.getIns('koDT');
	// var K123DT = DT.getIns('K123DT');
	// koDT.setV('ko');
	// K123DT.setV('K123DT');
	// log(koDT.v);
	// log(K123DT.v);
	
	var url = 'test/js/utils_test.js';
	var type = 'GET';
	
	// $.ajax({type:'GET',url:'test/js/utils.js',dataType:'script'})
	// .done(function(){
	// 	alert('done');
	// }).fail(function(){
	// 	alert('fail');
	// }); 
	// var xhr = new ActiveXObject( "Microsoft.XMLHTTP" );
	var xhr = new XMLHttpRequest();
	xhr.open(type, url, true);
	xhr.send(null)
	xhr.onreadystatechange = function(d){
		log(xhr.readyState)
		log(xhr.status)
		if(d){
			// log(d);
		}
		
		alert('end');
	}
</script>

</html>